package com.bootdo.program.wallpaper.service;

import com.bootdo.program.wallpaper.dao.BzBannerDao;
import com.bootdo.program.wallpaper.domain.BzBannerDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BzBannerService  {
	@Autowired
	private BzBannerDao bzBannerDao;
	
	
	public BzBannerDO get(Integer id){
		return bzBannerDao.get(id);
	}
	
	
	public List<BzBannerDO> list(Map<String, Object> map){
		return bzBannerDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return bzBannerDao.count(map);
	}
	
	
	public int save(BzBannerDO bzBanner){
		return bzBannerDao.save(bzBanner);
	}
	
	
	public int update(BzBannerDO bzBanner){
		return bzBannerDao.update(bzBanner);
	}
	
	
	public int remove(Integer id){
		return bzBannerDao.remove(id);
	}
	
	
	public int batchRemove(Integer[] ids){
		return bzBannerDao.batchRemove(ids);
	}
	
}
